package com.open.capacity.user.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 作者 ftquan E-mail: 464725602@qq.com
 * @version 创建时间：2017年11月12日 上午22:57:51
 *  公司
 */
@Data
public class SysCompany implements Serializable {
	
	private static final long serialVersionUID = 4497149010220586111L;
	@JsonSerialize(using=ToStringSerializer.class)
	private String id;
	private String parentId;
	private String code;
	private String shortName;
	private String fullName;
	private String nature;
	private String outerPhone;
	private String innerPhone;
	private String fax;
	private String postCode;
	private String email;
	private String manager;
	private String provinceId;
	private String cityId;
	private String countyId;
	private String address;
	private String website;
	private Date foundedTime;
	private String businessScope;
	private String description;
	private Integer sort;
	private Integer status;

	@JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
	private Date createTime;
	@JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
	private Date updateTime;
}
